+2005-11-15 Michael Natterer <mitch@imendio.com>
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): destroy
+ display->xid_ht as late as possible (right before XCloseDisplay)
+ because it still needs to be around when the display's screens are
+ finalized. (#85715)
+
2005-11-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_set_uris): Don't
+2005-11-15 Michael Natterer <mitch@imendio.com>
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): destroy
+ display->xid_ht as late as possible (right before XCloseDisplay)
+ because it still needs to be around when the display's screens are
+ finalized. (#85715)
+
2005-11-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_set_uris): Don't
g_slist_foreach (display_x11->event_types, (GFunc)g_free, NULL);
g_slist_free (display_x11->event_types);
- /* X ID hashtable */
- g_hash_table_destroy (display_x11->xid_ht);
-
/* input GdkDevice list */
/* FIXME need to write finalize fct */
g_list_foreach (display_x11->input_devices, (GFunc) g_object_unref, NULL);
g_free (display_x11->startup_notification_id);
+ /* X ID hashtable */
+ g_hash_table_destroy (display_x11->xid_ht);
+
XCloseDisplay (display_x11->xdisplay);
G_OBJECT_CLASS (parent_class)->finalize (object);